package inject

import (
	"github.com/kordar/gocrud"
	"go.uber.org/dig"
	"labelsys/dataset/controller"
	"labelsys/dataset/service"
)

type ServiceResult struct {
	dig.Out
	service.DatasetService
	service.DatasetUploadService
	ResourceService []gocrud.ResourceService `group:"resource-services,flatten"`
}

type ControllerResult struct {
	dig.Out
	*controller.DatasetController
}
